const webpack = require('webpack');
const conf = require('../webpack.config.js');
const compiler =  webpack(conf);

debugger
compiler.run((err, stat) => {
    if (err) {
        console.error('err', err);
    }
    else {
        console.log(stat)
    }
});
